/**
 * Created by Lenovo on 2017/12/1.
 */
var Template = {
    repayMent: function () {
        this.repaymentDate = '';
        this.total = 0;
        this.principal = 0;
        this.interest = 0;
        this.contractNo = '';
        this.repaymentParentList = []
    },
    repayFQFirst: function () {
        this.repaymentDate = '';
        this.principal = 0;
        this.remark = ''
    },
    guarantorTem: function () {
        this.guarantor = '';
        this.guarantorTaxNo = '';
        this.guarantorAddress = '';
        this.guarantorTel = '';
    },
    jiuJi: function (str) {
        this.manufacturer = '';
        this.replacementType = str ? str : '';
        this.brandName = '';
        this.modelName = '';
        this.sequence = '';
        this.factoryDate = '';
        this.hours = '';
        this.replacementPrice = 0;
    },
    qiChe: function () {
        this.manufacturer = '';
        this.replacementType = '';
        this.brandName = '';
        this.modelName = '';
        this.factoryDate = '';
        this.hours = '';
        this.kilometers = '';
        this.replacementPrice = 0;
    },
    fangWu: function () {
        this.replacementType = '';
        this.houseName = '';
        this.houseAddress = '';
        this.buildingBumber = '';
        this.factoryDate = '';
        this.area = '';
        this.housesProperty = '';
        this.replacementPrice = 0;
    },
    other: function () {
        this.otherCondition = '';
        this.replacementPrice = 0;
    },
    repayRZMentList: function () {
        this.repaymentDate = '';
        this.total = 0;
        this.interest = 0;
        this.actualRepaymentDate = '';
        this.repaymentAmount = 0;
        this.overduePenalty = 0;
        this.remainingArrears = 0;
        this.haveSettle = '0';
        this.repaymentAttachName = '';
        this.contractRepaymentAmount = 0;
        this.repaymentAttachUrl = '';
        this.repaymentParentList = [];

        this.financingDate = '';
        this.financingMoney = 0;
        this.advancesDate = '';
        this.advancesMoney = 0;
        this.remark = '';
        this.check = false;
    },
    repaySFMentList: function () {
        this.repaymentDate = '';
        this.total = 0;
        this.interest = 0;
        this.actualRepaymentDate = ''
        this.repaymentAmount = 0
        this.overduePenalty = 0
        this.repaymentAttachName = ''
        this.repaymentAttachUrl = ''
        this.remainingArrears = 0
        this.overduePenaltyTotal = 0
        this.haveSettle = '0'
        this.gsPenalty = 0;
        this.everyRemainingArrear = 0;
        this.everyOverduePenalty = 0;
        this.repaymentParentList = [];
        this.check = false;
    },
    collectionList: function () {
        this.collection = "";
        this.collectionDate = ""
    },
    regionManagerList: function () {
        this.historyManagerId = "";
        this.historyManagerName = "";
        this.entryDate = "";
        this.leaveDate = "";

    }
};